<?php /* Smarty version 2.6.14, created on 2011-02-28 19:44:50
         compiled from index.tpl */ ?>
<div class="containertable">

<table border="0" width="100%" cellspacing="0" cellpadding="10">
<tr>
<td width="100%">

<?php if ($this->_tpl_vars['banner']): ?>
    <p><?php echo $this->_tpl_vars['banner']; ?>
</p>
<?php endif; ?>

<?php if ($this->_tpl_vars['index_catid'] == 0): ?>
    <!-- If we are on frontpage -->
    <?php if ($this->_tpl_vars['member']): ?>
        <h2><?php echo $this->_tpl_vars['index_welcome_91']; ?>
</h2>
        <p class="headline"><?php echo $this->_tpl_vars['index_welcome_92']; ?>
</p>
    <?php else: ?>
        <h2><?php echo $this->_tpl_vars['index_welcome_1']; ?>
</h2>
        <p class="headline"><?php echo $this->_tpl_vars['index_welcome_2']; ?>
</p>
    <?php endif;  endif; ?>

<?php if ($this->_tpl_vars['catname']): ?>
<h2><?php echo $this->_tpl_vars['catname']; ?>
</h2>
<?php endif; ?>



<?php if ($this->_tpl_vars['premium_picture'] == 1 && $this->_tpl_vars['set_special'] == 0): ?>
<!-- PREMIUM PICTURE -->
    <?php if ($this->_tpl_vars['index_catid'] == 0): ?>
    <table>
    <tr>
        <td><?php include("catcol.php"); ?></td>
        <td><?php include("premium.php"); ?></td>
    </tr>
    </table>
    <?php else: ?>
        <?php include("catcol.php"); ?>
        <?php include("premium.php"); ?>
    <?php endif; ?>
<!-- PREMIUM PICTURE -->


<?php elseif ($this->_tpl_vars['premium_picture'] == 0 && $this->_tpl_vars['set_special'] == 1): ?>
    <!-- PREMIUM ADS -->
    <table border='0' width='100%'><tr><td valign='top' width='<?php echo $this->_tpl_vars['size']; ?>
%'>
    <?php 
    include("catcol.php");
     ?>
    </td>
    <td valign="top" width="30%">
        <table border="0" width="100%" bgcolor="#ECF0F6" cellspacing="0" cellpadding="1" class="box">
        <tr>
            <th colspan="2" class="bottombutton_tile"><?php echo @LA_PREMIUM; ?>
</th>
        </tr>
        <?php $_from = $this->_tpl_vars['special_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['special']):
?>
            <tr><td><img src="layout_images/admin/special.gif" align="left" alt="" /></td>
            <td><a href="<?php echo $this->_tpl_vars['special']['s_link']; ?>
"><img src="layout_images/pointer.gif" border="0" alt="" />
             <?php echo $this->_tpl_vars['special']['s_title']; ?>
</a>
            </td></tr>
        <?php endforeach; endif; unset($_from); ?>
        </table>
    </td>
    </tr>
    </table>
    <!-- PREMIUM ADS -->


<?php elseif ($this->_tpl_vars['premium_picture'] == 1 && $this->_tpl_vars['set_special'] == 1): ?>
    <!-- PREMIUM ADS AND PREMIUM PICTURE ADS FP-->
    <?php if ($this->_tpl_vars['index_catid'] == 0): ?>
    <table border='0' width='100%'><tr><td valign='top' width='<?php echo $this->_tpl_vars['size']; ?>
%'>
    <tr>
        <td>
        <?php 
        include("catcol.php");
         ?>
        </td>
        <td valign="top" width="30%">
            <table border="0" width="100%" bgcolor="#ECF0F6" cellspacing="0" cellpadding="1" class="box">
            <tr>
                <th colspan="2" class="bottombutton_tile"><?php echo @LA_PREMIUM; ?>
</th>
            </tr>
            <?php $_from = $this->_tpl_vars['special_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['special']):
?>
            <tr>
                <td><img src="layout_images/admin/special.gif" align="left" alt="" /></td>
                <td><a href="<?php echo $this->_tpl_vars['special']['s_link']; ?>
"><img src="layout_images/pointer.gif" border="0" alt="" /><?php echo $this->_tpl_vars['special']['s_title']; ?>
</a></td>
            </tr>
            <?php endforeach; endif; unset($_from); ?>
            </table>
        </td>
        <td>
        <?php include("premium.php"); ?>
        </td>
    </tr>
    </table>
    <!-- PREMIUM ADS AND PREMIUM PICTURE ADS FP-->
    <?php else: ?>
    <!-- PREMIUM ADS AND PREMIUM PICTURE ADS CAT-->
        <table border='0' width='100%'><tr><td valign='top' width='<?php echo $this->_tpl_vars['size']; ?>
%'>
        <?php 
        include("catcol.php");
         ?>
        </td>
        <td valign="top" width="30%">
            <table border="0" width="100%" bgcolor="#ECF0F6" cellspacing="0" cellpadding="1" class="box">
            <tr>
                <th colspan="2" class="bottombutton_tile"><?php echo @LA_PREMIUM; ?>
</th>
            </tr>
            <?php $_from = $this->_tpl_vars['special_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['special']):
?>
                <tr><td><img src="layout_images/admin/special.gif" align="left" alt="" /></td>
                <td><a href=<?php echo $this->_tpl_vars['special']['s_link']; ?>
"><img src="layout_images/pointer.gif" border="0" alt="" />
                 <?php echo $this->_tpl_vars['special']['s_title']; ?>
</a>
                </td></tr>
            <?php endforeach; endif; unset($_from); ?>
            </table>
        </td>
        </tr>
        </table>
        <?php include("premium.php"); ?>
    <!-- PREMIUM ADS AND PREMIUM PICTURE ADS CAT-->
    <?php endif; ?>


<?php else: ?>
<!-- NO PREMIUM -->
    <?php 
    include("catcol.php");
     ?>
<!-- NO PREMIUM -->
<?php endif; ?>



<!-- SHOW LIST -->
    <?php include("links.php"); ?>



</td></tr></table>
</div>